The Dreamweaver JavaScript API > Table editing functions > dom.splitTableCell()

 

dom.splitTableCell()

Availability

Dreamweaver 3.0

Description

Splits the current table cell into the specified number of rows or columns. If one or both of the arguments is omitted, the Split Cells dialog box appears.

Arguments

{colsOrRows}, {numberToSplitInto}

colsOrRows, if supplied, must be either "columns" or "rows".
numberToSplitInto, if supplied, is the number of rows or columns to split the cell into.

Returns

Nothing.

Enabler

dom.canSplitTableCell()